﻿<!-- BEGIN MAIN CONTENT -->
<div class="row">
    <div class="col-md-12">
        <!-- BEGIN: ACCORDION DEMO -->
        <div class="portlet light">
            <div class="portlet-title page-bar">
                <ul class="page-breadcrumb pull-right">
                    <li>
                        <i class="fa fa-home"></i>
                        <a href="#/home.html">管理中心</a>
                        <i class="fa fa-angle-right"></i>
                    </li>
                    <li>
                        <a href="#/GgcmsSysdictsList.html">用户组</a>
                        <i class="fa fa-angle-right"></i>
                    </li>
                    <li>
                        <a href="javascript:;">用户组编辑</a>
                    </li>
                </ul>
                <div class="caption font-green-sharp">
                    <i class="icon-note font-green-sharp"></i>
                    <span class="caption-subject bold uppercase">用户组编辑</span>
                </div>
            </div>
            <div class="portlet-body">
                <div class="row">
                    <div class="col-xs-12">
                        <form class="form-horizontal" name="ggcmsForm" role="form" novalidate>
                            <input type="hidden" ng-model="data.Id">
                            <div class="form-body">
                                <div class="form-group" ng-class="{'has-error' : ggcmsForm.Dkey.$invalid&&!ggcmsForm.Dkey.$pristine}">
                                    <label class="col-md-3 control-label">用户组名:</label>
                                    <div class="col-md-9">
                                        <input type="text" name="Dkey" minlength="2" maxlength="30" class="form-control" placeholder="请填写用户组名" required ng-model="data.Dkey">
                                        <div class="help-block" ng-show="ggcmsForm.Dkey.$invalid&&!ggcmsForm.Dkey.$pristine"> 请填写用户组名 </div>
                                    </div>
                                </div>
                                <div class="form-group" ng-class="{'has-error' : ggcmsForm.Dval.$invalid&&!ggcmsForm.Dval.$pristine}">
                                    <label class="col-md-3 control-label">描述:</label>
                                    <div class="col-md-9">
                                        <input type="text" name="Dval" minlength="2" maxlength="30" class="form-control" placeholder="用户组描述信息" ng-model="data.Dval">
                                        <div class="help-block" ng-show="ggcmsForm.Dval.$invalid&&!ggcmsForm.Dval.$pristine"> 用户组描述信息 </div>
                                    </div>
                                </div>
                                <!--<div class="form-group" ng-class="{'has-error' : ggcmsForm.Dgroup.$invalid&&!ggcmsForm.Dgroup.$pristine}">
                                    <label class="col-md-3 control-label">Dgroup</label>
                                    <div class="col-md-9">
                                        <input type="text" name="Dgroup" minlength="2" maxlength="30" class="form-control" placeholder="Dgroup" required ng-model="data.Dgroup">
                                        <div class="help-block" ng-show="ggcmsForm.Dgroup.$invalid&&!ggcmsForm.Dgroup.$pristine"> Dgroup </div>
                                    </div>
                                </div>
                                <div class="form-group" ng-class="{'has-error' : ggcmsForm.Pval.$invalid&&!ggcmsForm.Pval.$pristine}">
                                    <label class="col-md-3 control-label">Pval</label>
                                    <div class="col-md-9">
                                        <input type="text" name="Pval" minlength="2" maxlength="30" class="form-control" placeholder="Pval" required ng-model="data.Pval">
                                        <div class="help-block" ng-show="ggcmsForm.Pval.$invalid&&!ggcmsForm.Pval.$pristine"> Pval </div>
                                    </div>
                                </div>
                                <div class="form-group" ng-class="{'has-error' : ggcmsForm.Sortid.$invalid&&!ggcmsForm.Sortid.$pristine}">
                                    <label class="col-md-3 control-label">Sortid</label>
                                    <div class="col-md-9">
                                        <input type="text" name="Sortid" minlength="2" maxlength="30" class="form-control" placeholder="Sortid" required ng-model="data.Sortid">
                                        <div class="help-block" ng-show="ggcmsForm.Sortid.$invalid&&!ggcmsForm.Sortid.$pristine"> Sortid </div>
                                    </div>
                                </div>-->
                            </div>
                            <div class="form-actions">
                                <hr/>
                                <div class="row">
                                    <div class="col-md-12 text-center">
                                        <button class="btn green" ng-click="editSvr.update(data)" ng-disabled="ggcmsForm.$invalid||saveing"> <span class="fa fa-save"></span> 保存</button>
                                    </div>
                                </div>
                            </div>
                        </form>

                    </div>
                </div>
            </div>
        </div>
        <!-- END: ACCORDION DEMO -->
    </div>
</div>
<!-- END MAIN CONTENT -->